﻿using IceDog.EFCore.Models.Blog;
using Microsoft.EntityFrameworkCore;

namespace IceDog.EFCore.WebApiServer.Context
{
    public class DioBlogContext:DbContext
    {
        public DioBlogContext(DbContextOptions<DioBlogContext> options) : base(options)
        {
            
        }
        public DbSet<BlogUser> BlogUsers { get; set; }
        public DbSet<BlogArticle> BlogArticles { get; set; }
        public DbSet<BlogComment> BlogComments { get; set; }

    }
}
